package com.jx.smartbot.repository;

import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.repository.PagingAndSortingRepository;

import com.jx.smartbot.entity.WpAssistant;

public interface WpAssistantRepository extends PagingAndSortingRepository<WpAssistant,Long>{
	WpAssistant getWpAssistantById(long id);
	WpAssistant getWpAssistantByName(String name);
	Page<WpAssistant> findByNameLike(String name, Pageable pageable);
}
